package com.ejuornal.bean;

import java.io.Serializable;
import java.util.Date;
/**    
 * 项目名称：ejuornal    
 * 类名称：User    
 * 类描述：  用户基本信息  
 * 创建人：陈晨    
 * 创建时间：Jan 23, 2013 3:57:02 PM    
 * 修改人：陈晨    
 * 修改时间：Jan 23, 2013 3:57:02 PM    
 * 修改备注：    
 * @version     
 *
 */
public class User implements Serializable{
    private static final long serialVersionUID = 1L;
    private int userId; //用户编号
    private String email;	//电子邮箱
    private String userName; //用户名称
    private String password; //密码
    private int roleId;   //角色编号
    private Date registeDate;  //注册时间
    private Role role;     //角色
    
    public int getUserId() {
        return userId;
    }
    public void setUserId(int userId) {
        this.userId = userId;
    }
    public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getUserName() {
        return userName;
    }
    public void setUserName(String userName) {
        this.userName = userName;
    }
    public String getPassword() {
        return password;
    }
    public void setPassword(String password) {
        this.password = password;
    }
    public Role getRole() {
        return role;
    }
    public void setRole(Role role) {
        this.role = role;
    }
    public Date getRegisteDate() {
        return registeDate;
    }
    public void setRegisteDate(Date registeDate) {
        this.registeDate = registeDate;
    }
    public int getRoleId() {
        return roleId;
    }
    public void setRoleId(int roleId) {
        this.roleId = roleId;
    }
}
